
class Block:
        
    def __init__(self, name, blocks):
        self.image = blocks[name]
        self.name = name
    
    def render(self, screen, x, y):
        screen.blit(self.image, (x, y))

